package com.study.concurrent.singleton;

/**
 * Description:
 * User: 27010
 * DateTime: 2018/6/20 23:20
 */
//饿汉式
public class Singleton2 {
    private static Singleton2 instance= new Singleton2();
    private Singleton2(){ }
    public static Singleton2 getInstance(){
        return instance;
    }
}
